/**
 * Created by bell on 2017/8/2.
 */

export default class CGSize {
    constructor(width=0, height=0) {
        if(typeof width === 'object') {
            this.width = width.width
            this.height = width.height
        }
        else {
            this.width = width
            this.height = height
        }
    }
}


